<div class="top_nav">
    <div class="nav_menu">
        <nav class="" role="navigation">
            <div class="nav toggle">
                <a id="menu_toggle"><i class="fa fa-bars"></i></a>
            </div>
            <?php $admin_info = session_get(UserEnum::ADMIN_USER_KEY);?>

            <ul class="nav navbar-nav navbar-right">
                <li class="">
                    <a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
                        <img src="{{$admin_info->avatar}}" alt="">{{$admin_info->real_name}}
                        <span class=" fa fa-angle-down"></span>
                    </a>
                    <ul class="dropdown-menu dropdown-usermenu animated fadeInDown pull-right">
                        <li><a href="javascript:;">  账户</a>
                        </li>
                        <li>
                            <a href="javascript:;">
                                <span class="badge bg-red pull-right">50%</span>
                                <span>设置</span>
                            </a>
                        </li>
                        <li>
                            <a href="javascript:;">帮助</a>
                        </li>
                        <li><a href="login.html" onclick="Javascript:return confirm('确实要退出系统吗？')"><i class="fa fa-sign-out pull-right"></i> 退出</a>
                        </li>
                    </ul>
                </li>

                <li role="presentation" class="dropdown">
                    <a href="javascript:;" class="dropdown-toggle info-number" data-toggle="dropdown" aria-expanded="false">
                        <i class="fa fa-envelope-o"></i>
                        <span class="badge bg-green">6</span>
                    </a>
                    <ul id="menu1" class="dropdown-menu list-unstyled msg_list animated fadeInDown" role="menu">

                        <li>
                            <a>
                                        <span class="image">
                                    <img src="{{$admin_info->avatar}}" alt="Profile Image" />
                                </span>
                                        <span>
                                    <span>{{$admin_info->name}}</span>
                                        <span class="time"></span>
                                        </span>
                                        <span class="message">
                                    电影节是为电影制作人做的或为电影制作的时刻。他们在哪里…
                                </span>
                            </a>
                        </li>

                        <li>
                            <div class="text-center">
                                <a href="inbox.html">
                                    <strong>查看所有消息</strong>
                                    <i class="fa fa-angle-right"></i>
                                </a>
                            </div>
                        </li>
                    </ul>
                </li>

            </ul>
        </nav>
    </div>

</div>